package org.apache.servicecomb.samples.practise.houserush.sale.rpc.po;

import lombok.Data;
import org.hibernate.annotations.SQLDelete;
import org.hibernate.annotations.Where;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;

@Data

public class House {

    private int id;

    private Building building;
    private String name;
    private Integer layer;
    private String state;
    private Integer sequenceInLayer;
    private BigDecimal price;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;
}
